import { createTRPCRouter } from "@/trpc/init";

import authRouter from "./auth";
import blogRouter from "./blog";
import fileRouter from "./file";
import pageRouter from "./page";
import testRouter from "./test";
import userRouter from "./user";

export const appRouter = createTRPCRouter({
  file: fileRouter,
  test: testRouter,
  page: pageRouter,
  user: userRouter,
  auth: authRouter,
  blog: blogRouter,
});
// export type definition of API
export type AppRouter = typeof appRouter;
